package com.zdy.im.user.vo.request;

import com.sixeco.framework.common.api.ApiDesc;
import com.sixeco.framework.http.data.vo.RequestParserVo;

public class RegisterRequestVo extends RequestParserVo {

    /** name 登录名  */
    @ApiDesc(value = "登录名", required = 1)
    private String name;
    /** password 密码  */
    @ApiDesc(value = "密码", required = 1)
    private String password;
    /** phone 手机号  */
    @ApiDesc(value = "手机号", required = 1)
    private String phone;

    public static RegisterRequestVo build(){
        return new RegisterRequestVo();
    }

    public RegisterRequestVo toName(String name) {
        this.name = name;
        return this;
    }

    public RegisterRequestVo toPassword(String password) {
        this.password = password;
        return this;
    }

    public RegisterRequestVo toPhone(String phone) {
        this.phone = phone;
        return this;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }
}
